<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>Elead SSO</title>
<link rel="stylesheet" href="./css/lanse/login.css" th:href="@{/css/lanse/login.css}">
<link rel="shortcut icon" href="./favicon.ico" th:href="@{/favicon.ico}">
</head>

<body>
	<header class="header">
		<div class="logo">
			<img class="logo-img" src="./images/logo.png" th:src="@{/images/logo.png}" alt="">
		</div>
	</header>
	<div class="login_box">
		<div class="login_l_img">
			<img src="./images/lanse/login-img.png" th:src="@{/images/lanse/login-img.png}" />
		</div>
		<div class="login">
			<div class="login_logo">
				<a href="#"><img src="./images/lanse/login_logo.png" th:src="@{/images/lanse/login_logo.png}" /></a>
			</div>
			<div class="login_name">
				<p th:text="${oauthClient != null and oauthClient.clientName != null ? oauthClient.clientName : '登录'}"></p>
			</div>
			<form onclick="this.disabled=false" onsubmit="return handleSubmit()" method="post" th:action="${#request.getQueryString() != null ? #request.getRequestURL() + '?' + #request.getQueryString() : #request.getRequestURL()}">
				<input name="username" class="username username-input-default" type="text" value="" autocomplete="off" onfocus="usernameInputFocus()" placeholder="工号/账号/邮箱" /> 
				<span class="username-error opacity0" th:text="${errorMsg}"></span> 
				<input name="password" class="password password-input-default" type="password" id="password" autocomplete="off" onfocus="passwordInputFocus()" placeholder="请输入密码" />
				<span class="password-error opacity0">密码为必填项</span>
				<a class="text-login" th:href="${#request.contextPath}+'/modfiy/password'" target="_blank">修改/忘记密码？</a>
				<input value="登录" style="width: 100%;" type="submit">
			</form>
		</div>
		<div class="copyright">© 2017 上海易立德信息技术股份有限公司 . All Rights Reserved. 沪ICP备16053493号</div>
	</div>
</body>
<script id="loginjs" type="application/javascript" src="./js/login.js" th:src="@{/js/login.js(param=${#request.contextPath}, param2=false)}"></script>
</html>
